namespace 窗体练习
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            button_确认.Click += 弹出消息;
        }
        private void 弹出消息(object sender,EventArgs e)
        {
            MessageBox.Show("你好");
        }
    }
}